home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / ams__l~1.zoo / man / smallgra.man < prev    next >
Encoding:
Text File  |  1993-09-05  |  1.6 KB  |  58 lines

  1.                         ATARI MACHINE SPECIFIC LIBRARY
  2.  
  3.  
  4.  
  5. NAME
  6.      SmallGraphics - simply graphics functions
  7.  
  8. SYNOPSIS
  9.      #include <SmallGraphics.h>
  10.  
  11. DESCRIPTION
  12.      This module gives basic access to some graphical drawing routines.
  13.      The routines are all Line A routines.
  14.  
  15. FUNCTIONS
  16.      void InitSmallGraphics()   - * MUST * be called before anything else.
  17.  
  18.      void Color(int C)
  19.      void Colour(int C)  - Change colour ro draw in.
  20.  
  21.      void Plot(int x, int y)         - Plot a point in the current colour
  22.      void Plot(int x, int y, int C)  - Plot a point in a colour
  23.  
  24.      int ColorAt(int x, int y)
  25.      int ColourAt(int x, int y)      - Find colour of point
  26.  
  27.      void Line(int x, int y)         - Draw line from last point to new point
  28.      void Line(int x1, int y1, int x2, int y2) - Draw line
  29.  
  30.      void Rectangle(int x1, int y1, int x2, int y2)  - Draw rectangle
  31.      void Fill(int x, int y)         - Flood fill at a point
  32.      int MaxX()    - Maximum X co-ordinate
  33.      int MaxY()    - Maximum Y co-ordinate
  34.  
  35. USAGE
  36.      ALWAYS call InitSmallGraphics() first.
  37.  
  38. SEE ALSO
  39.      DoubleBuffer
  40.  
  41. BUGS
  42.      It is error prone to have to call InitSmallGraphics().
  43.  
  44. AUTHOR
  45.      Warwick Allison, 1992.
  46.      warwick@cs.uq.oz.au
  47.  
  48. COPYING
  49.      This functionality is part of the Atari Machine Specific Library,
  50.      and is Copyright 1992 by Warwick W. Allison.
  51.  
  52.      The Atari Machine Specific Library is free and protected under the
  53.      GNU Library General Public License.
  54.  
  55.      You are free to copy and modify these sources, provided you acknowledge
  56.      the origin by retaining this notice, and adhere to the conditions
  57.      described in the GNU LGPL.
  58.